package com.bw.xiaosy.dao;


import com.bw.xiaosy.domain.RolePermission;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author Xiaosy
 * @date 2017-03-17 17:37
 */
public interface RolePermissionRepository extends CrudRepository<RolePermission,Integer> {
    List<RolePermission> findByRoleId(Integer roleId);
}
